package com.whalehearing.tingyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 门店评价对象 sms_store_evaluate
 *
 * @author danielshen
 * @date 2024-11-01
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "StoreEvaluate", description = "门店评价实体")
public class StoreEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("id")
    private Long evaluateId;

    /** 门店id */
    @ApiModelProperty("门店id")
    private Long storeId;

    /** 评价用户id */
    @ApiModelProperty("评价用户id")
    private Long uid;

    /** 总分 */
    @ApiModelProperty("总分")
    private Integer  totalScore;

    /** 服务评分 */
    @ApiModelProperty("服务评分")
    private Integer  serviceScore;

    /** 设施评分 */
    @ApiModelProperty("设施评分")
    private Integer deviceScore;

    /** 评价内容 */
    @ApiModelProperty("评价内容")
    private String content;

    /** 标签 */
    @ApiModelProperty("标签")
    private String tag;

    /** 图片资源 */
    @ApiModelProperty("图片资源")
    private String media;

    @ApiModelProperty("阅读量")
    private Integer readCount;

    @ApiModelProperty("是否匿名发布 0 是 1 否")
    private Integer anonymousRelease;

    @ApiModelProperty("是否回复 0 是 1 否")
    private Integer isReply;

    /** 逻辑删除 0未删除 1已删除 */
    @ApiModelProperty("逻辑删除 0未删除 1已删除")
    private Integer isDeleted;

}
